#ifndef PDFTOOL_H
#define PDFTOOL_H

#include <QtCore>
#include <poppler-qt4.h>

class PDFTool
{
public:
	PDFTool(QString fileName);
	~PDFTool();

	bool isLoaded();

	QString guessTitle();
	int pageCount();
	QString fullText();

protected:
	Poppler::Document* document;
};

#endif // PDFTOOL_H
